#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int a = 0;
    int b = 2;
    scanf("%d", &a);
    if (a % 2 != 0)
    {
        
        for (int i = a / 2; i >= 1; i--)
        {

            printf("*");


            for (int j = a - b; j >= 1; j--)
            {
                printf(" ");

            }
            b += 2;
            printf("*\n");

            for (int k = 1; k < a / 2; k++)
            {
                printf(" ");
            }
            
        }
       
        for (int m = a / 2; m >= 1; m--)
        {
            printf(" ");
        }
        printf("*\n");

    }
    return 0;
}